
/**
 * AppleIIGo
 * Auxiliary Slot Device class
 * (C) 2007-2008 by Marc S. Ressl (mressl@umich.edu)
 * Released under the GPL
 */

#include "Motherboard.h"

#ifndef AUXSLOTDEVICE_H
#define AUXSLOTDEVICE_H

class AuxSlotDevice : public Device {
public:
	static AuxSlotDevice * getInstance(char * auxSlotDeviceType,
									   class Motherboard * motherboard);

	AuxSlotDevice(class Motherboard * motherboard);
	
	void onDevicesConnected();
	
	virtual UINT8 readIo(UINT16 address);
	virtual void writeIo(UINT16 address, UINT8 value);
	
protected:
	class TimingGenerator * timingGenerator;
};

#endif
